package com.usian.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import pojo.User;

@FeignClient(value="sentinel_provider")
public interface UserFeign {
    @RequestMapping("/getUserById")
    public User getUserById(@RequestParam Integer id);

}


